{layout name="layout" /}
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        课程列表
        <small>您目前所选课程</small>
      </h1>
      <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i> 后台</a></li>
        <li class="active">课程列表</li>
      </ol>
    </section>

    <!-- Main content -->
    <section class="content">
      <!-- Small boxes (Stat box) -->
      <div class="row">
        <?php foreach($result as $row): ?>
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-aqua">
            <div class="inner">
              <h4>{$row['name'] }</h4>

              <p>{$row['describe']}</p>
            </div>
            <div class="icon">
              <i class="ion ion-person"></i>
            </div>

            <a href="/index/Course/courseList?course_id={$row['course_id']}&name={$row['name'] }&describe={$row['describe']}"  class="small-box-footer">点击进入 <i class="fa fa-arrow-circle-right"></i></a>
          </div>
        </div>
        <?php endforeach; ?>

      </div>



    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
